package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Accessors(chain = true)
public class FormationTemperature extends CementBaseEntity {

    private Double temperature;

    @ManyToOne(cascade={CascadeType.REMOVE})
    @JoinColumn(name="borehole_id")
    private Borehole borehole;

}
